<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php 
	$id = intval($_GET['id']); 
	$placeInfo = getPlaceListDataInfoById($id);
	$USER = getAccountUserObject();
?>	 

<?php if($placeInfo):?>
	<?php $id=$placeInfo['id'];?>
	<tr id="listing_id_<?php echo $id;?>">
		<td>
			<?php echo $placeInfo['country'];?>
			<?php if($placeInfo['state']):?> 
				/
				<?php echo $placeInfo['state'];?>
			<?php endif;?>	
			<?php if($placeInfo['province']):?> 
				/
				<?php echo $placeInfo['province'];?>
			<?php endif;?>
			<?php if($placeInfo['city']):?> 
				/
				<?php echo $placeInfo['city'];?>
			<?php endif;?>
		</td>
		<td>
			<?php echo $placeInfo['price'].'&euro;';?>
		</td>
		<td>
			<?php echo delete_image("class='deleteItem' onclick='return deleteListingItem($id);'");?>
		</td>
		<input type="hidden" name="list_place[]" value="<?php echo $id;?>" />
	</tr>
<?php endif;?>